*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
ul li {
    list-style: none;
}
body {
    background-color: rgb(226, 226, 226);
}
header {
    position: fixed;
    z-index: 2;
    top: 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: 50px;
    background-color: rgb(0, 130, 170);
}
header button {
    margin: 10px 30px;
    height: 30px;
    cursor: pointer;
}
header #create {
    display: none;
    margin: 20px 0px 0px 80px;
    height: 30px;
    background-color: chartreuse;
    cursor: pointer;
}
header #pic_submit {
    display: none;
    margin: 20px 0px 0px 80px;
    height: 30px;
    background-color: chartreuse;
    cursor: pointer;
}
header .classN {
    margin: 0px 5px;
}
header span {
    line-height: 50px;
}

section {
    display: none;
    margin-top: 55px;
    width: 100%;
}
section article {
    position: relative;
    overflow: hidden;
    padding: 10px 10px;
    margin: 10px auto;
    width: 95%;
    background-color: rgb(97, 218, 255);
}
section article .update {
    position: absolute;
    bottom: 10px;
}
section article .del {
    position: absolute;
    left: 200px;
    bottom: 5px;
    font-size: 10px;
    color: red;
}
section article .del:hover {
    background-color: crimson;
    color: rgb(255, 255, 255);
}
section article div:first-child {
    float: left;
    width: 80%;
}
section article div:last-child {
    float: right;
    width: 150px;
    height: 150px;
}
section article div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upload_wrap {
    display: none;
    position: fixed;
    padding: 20px;
    z-index: 2;
    top: 200px;
    left: 25%;
    border: 1px solid #000;
    background-color: rgb(2, 194, 201);
}
.upload_wrap span {
    display: block;
}
.upload_wrap input {
    height: 30px;
}
.upload_wrap #context {
    width: 852px;
    height: 172px;
    resize: none;
}

.pic_wrap {
    display: none;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 60px;
    width: 100%;
}
.pic_wrap .del {
    font-size: 10px;
    color: red;
}
.pic_wrap .del:hover {
    background-color: crimson;
    color: rgb(255, 255, 255);
}
.pic_wrap div {
    margin: 50px 12px;
    width: 200px;
    height: 200px;
}
.pic_wrap div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pic_upload_wrap {
    display: none;
    position: fixed;
    padding: 20px;
    z-index: 2;
    top: 200px;
    left: 40%;
    border: 1px solid #000;
    background-color: rgb(2, 194, 201);
}
.pic_upload_wrap span {
    display: block;
}
.pic_upload_wrap input {
    height: 30px;
}
.pic_upload_wrap #class_name {
    width: 80px;
    height: 30px;
}
.pic_upload_wrap #context {
    width: 852px;
    height: 172px;
    resize: none;
}
.pic_upload_wrap button {
    margin: 10px 5px 0px 5px;
}

.loading {
    display: none;
    position: relative;
    z-index: 2;
    top: 250px;
    left: 50%;
    margin-left: -125px;
    width: 250px;
    height: 100px;
    background-color: rgb(0, 130, 170);
}
.loading div {
    position: absolute;
    float: left;
    top: 40px;
    left: 50%;
    width: 20px;
    height: 20px;
}
.loading div:nth-child(2){
    background-color: rgb(255, 255, 255);
    animation: dAni 2s ease 0s infinite alternate forwards;
}
.loading div:nth-child(3) {
    background-color: rgb(0, 0, 0);
    animation: dAni 1s ease 1s infinite alternate forwards;
}
@keyframes dAni{
    0%{
        background-color: rgb(255, 255, 255);
        left: 50%;
    }
    100%{
        background-color: rgb(0, 0, 0);
        left: 80%;
    }
}
.loading p {
    margin-top: 40px;
    float: left;
}




